package com.acyouzi.meituan;

import java.util.Scanner;

/**
 * 17/9/14 20:49
 *
 * @author sunxu
 */
public class MainGD {
//  public static void main(String[] args) {
//    Scanner in = new Scanner(System.in);
//    int len = in.nextInt();
//    int sum = 0;
//    for (int i = 0; i < len; i++) {
//      if (in.nextInt() == 1) sum++;
//    }
//    if (sum % 2 == 0) System.out.println("Alice");
//    else System.out.println("Bob");
//  }

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);
    int len = in.nextInt();
    int[] arr = new int[len];
    for (int i = 0; i < len; i++) {
      arr[i] = in.nextInt();
    }
    int sum = 0;
    for (int i = 0; i < len; i++) {
      if (arr[i] == 1) sum++;
    }
    int count = 0;
    for (int i = len-1; i >= 0; i--) {
      if (arr[i] != 1) break;
      count++;
    }
    if (sum == count) System.out.println("Alice");
    if (sum % 2 == 0) System.out.println("Alice");
    else System.out.println("Bob");
  }
}
